package org.leno.houseHire.dao;

import java.util.Date;

/**
 * House entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class House implements java.io.Serializable {

	// Fields

	private Integer hid;
	private Street street;
	private User user;
	private String title;
	private Double hireprice;
	private Date booktime;
	private String linkman;
	private String linktel;
	private String housething;
	private Integer room;
	private Integer ting;

	// Constructors

	/** default constructor */
	public House() {
	}

	/** full constructor */
	public House(Street street, User user, String title, Double hireprice,
			Date booktime, String linkman, String linktel, String housething,
			Integer room, Integer ting) {
		this.street = street;
		this.user = user;
		this.title = title;
		this.hireprice = hireprice;
		this.booktime = booktime;
		this.linkman = linkman;
		this.linktel = linktel;
		this.housething = housething;
		this.room = room;
		this.ting = ting;
	}

	// Property accessors

	public Integer getHid() {
		return this.hid;
	}

	public void setHid(Integer hid) {
		this.hid = hid;
	}

	public Street getStreet() {
		return this.street;
	}

	public void setStreet(Street street) {
		this.street = street;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Double getHireprice() {
		return this.hireprice;
	}

	public void setHireprice(Double hireprice) {
		this.hireprice = hireprice;
	}

	public Date getBooktime() {
		return this.booktime;
	}

	public void setBooktime(Date booktime) {
		this.booktime = booktime;
	}

	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getLinktel() {
		return this.linktel;
	}

	public void setLinktel(String linktel) {
		this.linktel = linktel;
	}

	public String getHousething() {
		return this.housething;
	}

	public void setHousething(String housething) {
		this.housething = housething;
	}

	public Integer getRoom() {
		return this.room;
	}

	public void setRoom(Integer room) {
		this.room = room;
	}

	public Integer getTing() {
		return this.ting;
	}

	public void setTing(Integer ting) {
		this.ting = ting;
	}

}